Uniform Strong Normalization for Multi-Discipline Calculi

نویسندگان

  • Paul Downen
  • Philip Johnson-Freyd
  • Zena M. Ariola
چکیده

Modern programming languages have effects and mix multiple calling conventions, and their core calculi should too. We characterize calling conventions by their “substitution discipline” that says what variables stand for, and design calculi for mixing disciplines in a single program. Building on variations of the reducibility candidates method, including biorthogonality and symmetric candidates which are both specialized for one discipline, we develop a single uniform framework for strong normalization encompassing call-by-name, call-by-value, call-byneed, call-by-push-value, non-deterministic disciplines, and any others satisfying some simple criteria. We explicate commonalities of previous methods and show they are special cases of the uniform framework and they extend to multi-discipline programs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Perpetuality and Uniform Normalization

We de ne a perpetual one-step reduction strategy which enables one to construct minimal (w.r.t. L evy's ordering on reductions) in nite reductions in Conditional Orthogonal Expression Reduction Systems. We use this strategy to derive two characterizations of perpetual redexes, i.e., redexes whose contractions retain the existence of in nite reductions. These characterizations generalize existin...

متن کامل

-calculi with Explicit Substitutions and Weak Composition Which Preserve -strong Normalization

This paper studies preservation of-strong normalization by two diierent connuent-calculi with explicit substitutions deened in Kes96]; the particularity of these calculi, called d and dn respectively, is that both have a (weak) composition operator for substitutions. We develop an abstract simulation technique allowing to reduce preservation of-strong normalization of one calculus to that of an...

متن کامل

-calculi with Explicit Substitutions and Composition Which Preserve -strong Normalization (extended Abstract)

We study preservation of-strong normalization by d and dn, two connuent-calculi with explicit substitutions deened in 10]; the par-ticularity of these calculi is that both have a composition operator for substitutions. We develop an abstract simulation technique allowing to reduce preservation of-strong normalization of one calculus to that of another one, and apply said technique to reduce pre...

متن کامل

Termination of Threads with Shared Memory via Infinitary Choice

We present a static type discipline on an extension of λcalculus with threads and shared memory ensuring termination. This discipline is based on a type and effects system, and is a condition forced on regions. It generalizes and clarifies the stratification discipline previously proposed in the literature with the same objective, and is directly inspired by positive recursive types. The proof ...

متن کامل

Strong Normalization of Polymorphic Calculus for Delimited Continuations

The notion of delimited continuations has been proved useful in various areas of computer programming such as partial evaluation, mobile computing, and web transaction. In our previous work, we proposed polymorphic calculi with control operators for delimited continuations. This paper presents a proof of strong normalization (SN) of these calculi based on a refined (i.e. administrative redex-fr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2018